extends layout

block content
  div(id="div_TestProgress", style="display: none;")
    h2 Testing
    h4
      span(id="span_TestStatus")
    hr
    div.alert.alert-info(id="alert_Info", role="alert")
      pre.scroll-overflow(id="pre_TestDetails")

  div(id="div_TestForm")
      h1 Component Testing
      p Select a script to run.
      hr
      form
        div.form-group
              label(for="select_TestType") Test Type:
              select.form-control.input-lg(id="select_TestType", name="input_TestType")
        button.btn.btn-primary.btn-lg(id="btn_PerformTest", type="button") Perform Test
  
  div.alert.alert-success(id="alert_Success", role="alert", style="display: none;")
  div.alert.alert-warning(id="alert_Warning", role="alert", style="display: none;")
  div.alert.alert-danger(id="alert_Failure", role="alert", style="display: none;")

  a.btn.btn-primary(id="btn_ReloadPage", href="/component_testing", role="button", style="margin-left:4px; display: none;")
          span.glyphicon.glyphicon-refresh(style="margin-right:6px")
          span Run Another Test

block scripts
    include scanner_lib_scripts
    script(src='/javascript/pages/component_testing.js')
